package com.itheima.dao.impl;

import com.itheima.dao.ResourceDao;
import org.springframework.stereotype.Repository;

/**
 * @author Xiao
 * @date 2021/9/13
 */
@Repository
public class ResourceDaoImpl implements ResourceDao {
    @Override
    public boolean readResources(String url, String password) {
        System.out.println(password.length());
        //模拟校验
        return password.equals("root");
    }
}
